package com.goldcn.sms.service;

import com.goldcn.sms.modle.SmsCommont;
import org.springframework.data.domain.Page;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by with IDEA
 * <p>
 * User: pengzh
 * Date: 2017/4/25
 * www.gcn99.com
 */
@Repository
public interface CommentRepository extends MongoRepository<SmsCommont, Long> {

    /**
     *根据ID查询
     * @param id comment id
     * @return
     */
   /* public  SmsCommont findByID(Long id);

    *//**
     * 根据模板编码
     * @param smsTemplateCode
     * @return
     *//*
    public Page<SmsCommont> findBySmsTemplateCode(String smsTemplateCode);*/
}
